package hell.p2p.base;

import java.net.InetAddress;


public class Messgram {

    private InetAddress address;
    private byte [] data;

    public Messgram()
    {
        address=null;
        data=null;
    }
    public Messgram(InetAddress addr,byte[] dt)
    {
        address=addr;
        //data=new byte[dt.length];
        data=dt;

    }

    public InetAddress getAddress() {
        return address;
    }

    public void setAddress(InetAddress address) {
        this.address = address;
    }

    public byte[] getData() {
        return data;
    }

    public void setData(byte[] data) {
        this.data = data;
    }
}
